package com.guoranhao.business.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PostExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PostExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPostIdIsNull() {
            addCriterion("post_id is null");
            return (Criteria) this;
        }

        public Criteria andPostIdIsNotNull() {
            addCriterion("post_id is not null");
            return (Criteria) this;
        }

        public Criteria andPostIdEqualTo(Long value) {
            addCriterion("post_id =", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdNotEqualTo(Long value) {
            addCriterion("post_id <>", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdGreaterThan(Long value) {
            addCriterion("post_id >", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdGreaterThanOrEqualTo(Long value) {
            addCriterion("post_id >=", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdLessThan(Long value) {
            addCriterion("post_id <", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdLessThanOrEqualTo(Long value) {
            addCriterion("post_id <=", value, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdIn(List<Long> values) {
            addCriterion("post_id in", values, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdNotIn(List<Long> values) {
            addCriterion("post_id not in", values, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdBetween(Long value1, Long value2) {
            addCriterion("post_id between", value1, value2, "postId");
            return (Criteria) this;
        }

        public Criteria andPostIdNotBetween(Long value1, Long value2) {
            addCriterion("post_id not between", value1, value2, "postId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdIsNull() {
            addCriterion("post_type_id is null");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdIsNotNull() {
            addCriterion("post_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdEqualTo(Integer value) {
            addCriterion("post_type_id =", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdNotEqualTo(Integer value) {
            addCriterion("post_type_id <>", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdGreaterThan(Integer value) {
            addCriterion("post_type_id >", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("post_type_id >=", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdLessThan(Integer value) {
            addCriterion("post_type_id <", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("post_type_id <=", value, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdIn(List<Integer> values) {
            addCriterion("post_type_id in", values, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdNotIn(List<Integer> values) {
            addCriterion("post_type_id not in", values, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("post_type_id between", value1, value2, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("post_type_id not between", value1, value2, "postTypeId");
            return (Criteria) this;
        }

        public Criteria andPostTitleIsNull() {
            addCriterion("post_title is null");
            return (Criteria) this;
        }

        public Criteria andPostTitleIsNotNull() {
            addCriterion("post_title is not null");
            return (Criteria) this;
        }

        public Criteria andPostTitleEqualTo(String value) {
            addCriterion("post_title =", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleNotEqualTo(String value) {
            addCriterion("post_title <>", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleGreaterThan(String value) {
            addCriterion("post_title >", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleGreaterThanOrEqualTo(String value) {
            addCriterion("post_title >=", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleLessThan(String value) {
            addCriterion("post_title <", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleLessThanOrEqualTo(String value) {
            addCriterion("post_title <=", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleLike(String value) {
            addCriterion("post_title like", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleNotLike(String value) {
            addCriterion("post_title not like", value, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleIn(List<String> values) {
            addCriterion("post_title in", values, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleNotIn(List<String> values) {
            addCriterion("post_title not in", values, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleBetween(String value1, String value2) {
            addCriterion("post_title between", value1, value2, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostTitleNotBetween(String value1, String value2) {
            addCriterion("post_title not between", value1, value2, "postTitle");
            return (Criteria) this;
        }

        public Criteria andPostContentIsNull() {
            addCriterion("post_content is null");
            return (Criteria) this;
        }

        public Criteria andPostContentIsNotNull() {
            addCriterion("post_content is not null");
            return (Criteria) this;
        }

        public Criteria andPostContentEqualTo(String value) {
            addCriterion("post_content =", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentNotEqualTo(String value) {
            addCriterion("post_content <>", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentGreaterThan(String value) {
            addCriterion("post_content >", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentGreaterThanOrEqualTo(String value) {
            addCriterion("post_content >=", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentLessThan(String value) {
            addCriterion("post_content <", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentLessThanOrEqualTo(String value) {
            addCriterion("post_content <=", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentLike(String value) {
            addCriterion("post_content like", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentNotLike(String value) {
            addCriterion("post_content not like", value, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentIn(List<String> values) {
            addCriterion("post_content in", values, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentNotIn(List<String> values) {
            addCriterion("post_content not in", values, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentBetween(String value1, String value2) {
            addCriterion("post_content between", value1, value2, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostContentNotBetween(String value1, String value2) {
            addCriterion("post_content not between", value1, value2, "postContent");
            return (Criteria) this;
        }

        public Criteria andPostImgCountIsNull() {
            addCriterion("post_img_count is null");
            return (Criteria) this;
        }

        public Criteria andPostImgCountIsNotNull() {
            addCriterion("post_img_count is not null");
            return (Criteria) this;
        }

        public Criteria andPostImgCountEqualTo(Integer value) {
            addCriterion("post_img_count =", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountNotEqualTo(Integer value) {
            addCriterion("post_img_count <>", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountGreaterThan(Integer value) {
            addCriterion("post_img_count >", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("post_img_count >=", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountLessThan(Integer value) {
            addCriterion("post_img_count <", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountLessThanOrEqualTo(Integer value) {
            addCriterion("post_img_count <=", value, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountIn(List<Integer> values) {
            addCriterion("post_img_count in", values, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountNotIn(List<Integer> values) {
            addCriterion("post_img_count not in", values, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountBetween(Integer value1, Integer value2) {
            addCriterion("post_img_count between", value1, value2, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostImgCountNotBetween(Integer value1, Integer value2) {
            addCriterion("post_img_count not between", value1, value2, "postImgCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountIsNull() {
            addCriterion("post_text_count is null");
            return (Criteria) this;
        }

        public Criteria andPostTextCountIsNotNull() {
            addCriterion("post_text_count is not null");
            return (Criteria) this;
        }

        public Criteria andPostTextCountEqualTo(Integer value) {
            addCriterion("post_text_count =", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountNotEqualTo(Integer value) {
            addCriterion("post_text_count <>", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountGreaterThan(Integer value) {
            addCriterion("post_text_count >", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("post_text_count >=", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountLessThan(Integer value) {
            addCriterion("post_text_count <", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountLessThanOrEqualTo(Integer value) {
            addCriterion("post_text_count <=", value, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountIn(List<Integer> values) {
            addCriterion("post_text_count in", values, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountNotIn(List<Integer> values) {
            addCriterion("post_text_count not in", values, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountBetween(Integer value1, Integer value2) {
            addCriterion("post_text_count between", value1, value2, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostTextCountNotBetween(Integer value1, Integer value2) {
            addCriterion("post_text_count not between", value1, value2, "postTextCount");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgIsNull() {
            addCriterion("post_cover_img is null");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgIsNotNull() {
            addCriterion("post_cover_img is not null");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgEqualTo(String value) {
            addCriterion("post_cover_img =", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgNotEqualTo(String value) {
            addCriterion("post_cover_img <>", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgGreaterThan(String value) {
            addCriterion("post_cover_img >", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgGreaterThanOrEqualTo(String value) {
            addCriterion("post_cover_img >=", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgLessThan(String value) {
            addCriterion("post_cover_img <", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgLessThanOrEqualTo(String value) {
            addCriterion("post_cover_img <=", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgLike(String value) {
            addCriterion("post_cover_img like", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgNotLike(String value) {
            addCriterion("post_cover_img not like", value, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgIn(List<String> values) {
            addCriterion("post_cover_img in", values, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgNotIn(List<String> values) {
            addCriterion("post_cover_img not in", values, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgBetween(String value1, String value2) {
            addCriterion("post_cover_img between", value1, value2, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andPostCoverImgNotBetween(String value1, String value2) {
            addCriterion("post_cover_img not between", value1, value2, "postCoverImg");
            return (Criteria) this;
        }

        public Criteria andRecommendIsNull() {
            addCriterion("recommend is null");
            return (Criteria) this;
        }

        public Criteria andRecommendIsNotNull() {
            addCriterion("recommend is not null");
            return (Criteria) this;
        }

        public Criteria andRecommendEqualTo(Integer value) {
            addCriterion("recommend =", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotEqualTo(Integer value) {
            addCriterion("recommend <>", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendGreaterThan(Integer value) {
            addCriterion("recommend >", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendGreaterThanOrEqualTo(Integer value) {
            addCriterion("recommend >=", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendLessThan(Integer value) {
            addCriterion("recommend <", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendLessThanOrEqualTo(Integer value) {
            addCriterion("recommend <=", value, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendIn(List<Integer> values) {
            addCriterion("recommend in", values, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotIn(List<Integer> values) {
            addCriterion("recommend not in", values, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendBetween(Integer value1, Integer value2) {
            addCriterion("recommend between", value1, value2, "recommend");
            return (Criteria) this;
        }

        public Criteria andRecommendNotBetween(Integer value1, Integer value2) {
            addCriterion("recommend not between", value1, value2, "recommend");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPostSourceIsNull() {
            addCriterion("post_source is null");
            return (Criteria) this;
        }

        public Criteria andPostSourceIsNotNull() {
            addCriterion("post_source is not null");
            return (Criteria) this;
        }

        public Criteria andPostSourceEqualTo(Integer value) {
            addCriterion("post_source =", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceNotEqualTo(Integer value) {
            addCriterion("post_source <>", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceGreaterThan(Integer value) {
            addCriterion("post_source >", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("post_source >=", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceLessThan(Integer value) {
            addCriterion("post_source <", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceLessThanOrEqualTo(Integer value) {
            addCriterion("post_source <=", value, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceIn(List<Integer> values) {
            addCriterion("post_source in", values, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceNotIn(List<Integer> values) {
            addCriterion("post_source not in", values, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceBetween(Integer value1, Integer value2) {
            addCriterion("post_source between", value1, value2, "postSource");
            return (Criteria) this;
        }

        public Criteria andPostSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("post_source not between", value1, value2, "postSource");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNull() {
            addCriterion("audit_status is null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNotNull() {
            addCriterion("audit_status is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusEqualTo(Integer value) {
            addCriterion("audit_status =", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotEqualTo(Integer value) {
            addCriterion("audit_status <>", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThan(Integer value) {
            addCriterion("audit_status >", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("audit_status >=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThan(Integer value) {
            addCriterion("audit_status <", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThanOrEqualTo(Integer value) {
            addCriterion("audit_status <=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIn(List<Integer> values) {
            addCriterion("audit_status in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotIn(List<Integer> values) {
            addCriterion("audit_status not in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusBetween(Integer value1, Integer value2) {
            addCriterion("audit_status between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("audit_status not between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusIsNull() {
            addCriterion("deliver_status is null");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusIsNotNull() {
            addCriterion("deliver_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusEqualTo(Integer value) {
            addCriterion("deliver_status =", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusNotEqualTo(Integer value) {
            addCriterion("deliver_status <>", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusGreaterThan(Integer value) {
            addCriterion("deliver_status >", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("deliver_status >=", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusLessThan(Integer value) {
            addCriterion("deliver_status <", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusLessThanOrEqualTo(Integer value) {
            addCriterion("deliver_status <=", value, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusIn(List<Integer> values) {
            addCriterion("deliver_status in", values, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusNotIn(List<Integer> values) {
            addCriterion("deliver_status not in", values, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusBetween(Integer value1, Integer value2) {
            addCriterion("deliver_status between", value1, value2, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andDeliverStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("deliver_status not between", value1, value2, "deliverStatus");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIsNull() {
            addCriterion("relation_user_id is null");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIsNotNull() {
            addCriterion("relation_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdEqualTo(Long value) {
            addCriterion("relation_user_id =", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotEqualTo(Long value) {
            addCriterion("relation_user_id <>", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdGreaterThan(Long value) {
            addCriterion("relation_user_id >", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("relation_user_id >=", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdLessThan(Long value) {
            addCriterion("relation_user_id <", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdLessThanOrEqualTo(Long value) {
            addCriterion("relation_user_id <=", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIn(List<Long> values) {
            addCriterion("relation_user_id in", values, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotIn(List<Long> values) {
            addCriterion("relation_user_id not in", values, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdBetween(Long value1, Long value2) {
            addCriterion("relation_user_id between", value1, value2, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotBetween(Long value1, Long value2) {
            addCriterion("relation_user_id not between", value1, value2, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPublishDateIsNull() {
            addCriterion("publish_date is null");
            return (Criteria) this;
        }

        public Criteria andPublishDateIsNotNull() {
            addCriterion("publish_date is not null");
            return (Criteria) this;
        }

        public Criteria andPublishDateEqualTo(Date value) {
            addCriterion("publish_date =", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotEqualTo(Date value) {
            addCriterion("publish_date <>", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateGreaterThan(Date value) {
            addCriterion("publish_date >", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateGreaterThanOrEqualTo(Date value) {
            addCriterion("publish_date >=", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateLessThan(Date value) {
            addCriterion("publish_date <", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateLessThanOrEqualTo(Date value) {
            addCriterion("publish_date <=", value, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateIn(List<Date> values) {
            addCriterion("publish_date in", values, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotIn(List<Date> values) {
            addCriterion("publish_date not in", values, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateBetween(Date value1, Date value2) {
            addCriterion("publish_date between", value1, value2, "publishDate");
            return (Criteria) this;
        }

        public Criteria andPublishDateNotBetween(Date value1, Date value2) {
            addCriterion("publish_date not between", value1, value2, "publishDate");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdIsNull() {
            addCriterion("last_modifyed_user_id is null");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdIsNotNull() {
            addCriterion("last_modifyed_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdEqualTo(Long value) {
            addCriterion("last_modifyed_user_id =", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdNotEqualTo(Long value) {
            addCriterion("last_modifyed_user_id <>", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdGreaterThan(Long value) {
            addCriterion("last_modifyed_user_id >", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("last_modifyed_user_id >=", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdLessThan(Long value) {
            addCriterion("last_modifyed_user_id <", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdLessThanOrEqualTo(Long value) {
            addCriterion("last_modifyed_user_id <=", value, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdIn(List<Long> values) {
            addCriterion("last_modifyed_user_id in", values, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdNotIn(List<Long> values) {
            addCriterion("last_modifyed_user_id not in", values, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdBetween(Long value1, Long value2) {
            addCriterion("last_modifyed_user_id between", value1, value2, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andLastModifyedUserIdNotBetween(Long value1, Long value2) {
            addCriterion("last_modifyed_user_id not between", value1, value2, "lastModifyedUserId");
            return (Criteria) this;
        }

        public Criteria andRemarkDescIsNull() {
            addCriterion("remark_desc is null");
            return (Criteria) this;
        }

        public Criteria andRemarkDescIsNotNull() {
            addCriterion("remark_desc is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkDescEqualTo(String value) {
            addCriterion("remark_desc =", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescNotEqualTo(String value) {
            addCriterion("remark_desc <>", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescGreaterThan(String value) {
            addCriterion("remark_desc >", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescGreaterThanOrEqualTo(String value) {
            addCriterion("remark_desc >=", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescLessThan(String value) {
            addCriterion("remark_desc <", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescLessThanOrEqualTo(String value) {
            addCriterion("remark_desc <=", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescLike(String value) {
            addCriterion("remark_desc like", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescNotLike(String value) {
            addCriterion("remark_desc not like", value, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescIn(List<String> values) {
            addCriterion("remark_desc in", values, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescNotIn(List<String> values) {
            addCriterion("remark_desc not in", values, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescBetween(String value1, String value2) {
            addCriterion("remark_desc between", value1, value2, "remarkDesc");
            return (Criteria) this;
        }

        public Criteria andRemarkDescNotBetween(String value1, String value2) {
            addCriterion("remark_desc not between", value1, value2, "remarkDesc");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}